package com.example.backend.service;

import com.example.backend.pojo.Foodorder;
import com.example.backend.pojo.Orderdetail;

import java.util.List;

public interface OrderService {
    void addOrder(Foodorder foodorder);

    List<Foodorder> getuserorder(Integer id);


    List<Orderdetail> getuserorderdetail(Integer id);

    List<Foodorder> getuserorderx(Integer id,Integer state);

    List<Foodorder> getresorder(String id ,Integer state);

    Foodorder findbyId(Integer orderid);
}
